@use "@/styles/Radius.module.scss";
@use "@/styles/ScreenSizes.module.scss";
@use "@/styles/Spacings.module.scss";

.tabs_container {
  display: flex;
  justify-content: space-between;

  .tab_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    border-bottom: 2px solid var(--border-0);
    padding-block: Spacings.$spacing03;
    cursor: pointer;
    box-sizing: border-box;
    gap: Spacings.$spacing03;

    &.selected {
      border-bottom-color: var(--primary-0);
      color: var(--primary-0);
      background-color: var(--background-2);
    }

    &:hover {
      color: var(--primary-0);
    }

    &.disabled {
      pointer-events: none;
      color: var(--text-1);
    }

    @media (max-width: ScreenSizes.$small) {
      .label {
        display: none;
      }
    }
  }
}
